package com.hl.service;

import com.hl.mapper.CarouselMapper;
import com.hl.pojo.Carouselimages;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarouselServiceImpl implements CarouselService{
    @Autowired
    private CarouselMapper carouselMapper;
    @Override
    public List<Carouselimages> getCarouseImg(Integer num) {
        return carouselMapper.getCarouseImg(num);
    }
}
